package main

import "github.com/beego/beego/v2/server/web"

type HelloWorldController struct {
	web.Controller
}

func (c *HelloWorldController) Get() {
	c.Ctx.WriteString("Hello World!")
}

func main() {
	web.Router("/", &HelloWorldController{})
	web.Run()
}
